package com.kfit.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.kfit.demo.bean.Demo;
import com.kfit.demo.mapper.DemoMapper;

@Service
public class DemoService {
	@Autowired
	private DemoMapper mapper;
	
	public Demo show(Integer id) {
		return mapper.show(id);
	}
}
